package com.qingke.pms.dao;

import java.util.List;

import com.qingke.pms.pojo.Material;

public interface MaterialMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Material record);

    int insertSelective(Material record);

    Material selectByPrimaryKey(Integer id);
    
    Material selectByCode(String code);
    
    List<Material> selectAll();
    
    List<Material> selectByLikeCode(String code);
    
    List<Material> selectByLikeName(String name);

    int updateByPrimaryKeySelective(Material record);

    int updateByPrimaryKey(Material record);
}